package rock.remoting.transmit;

import rock.common.annotation.SPI;
import rock.remoting.dto.RpcRequest;

@SPI
public interface RpcRequestTransmit {
    /**
     * send rpc request to server and get result
     * @param request message body
     * @return data
     */
    Object sendRpcRequest(RpcRequest request);
}
